#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "pcmaacencodethread.h"
#include "pcmaacdecodethread.h"
MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);
}

MainWindow::~MainWindow()
{
    delete ui;
}


void MainWindow::on_pushButton_clicked()
{

    PCMAACEncodeThread *aacEncodeThread = new PCMAACEncodeThread(this);

    aacEncodeThread->start();
}

void MainWindow::on_pushButton_2_clicked()
{

    PCMAACDecodeThread* pcmAACDecodeThread = new PCMAACDecodeThread(this);

    pcmAACDecodeThread->start();

}
